﻿<%@ Page Title="" Language="C#" MasterPageFile="~/PortalParts/Portal.Master" AutoEventWireup="true" CodeBehind="BBSPost.aspx.cs" Inherits="ZHDJ.Web.Portal.Forum.BBSPost" %>
<%@ Register TagPrefix="CKEditor" Namespace="CKEditor.NET" Assembly="CKEditor.NET, Version=3.6.1.0, Culture=neutral, PublicKeyToken=e379cdf2f8354999" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
    <link href="../../Resource/themes/Default/CSS/party.common.css" rel="stylesheet"
        type="text/css" />

    <link href="../../Resource/themes/Default/CSS/portal.widgets.css" rel="stylesheet"
        type="text/css" />
    <link href="../../Resource/themes/default/css/party.portal.css" rel="stylesheet"
        type="text/css" />
    <link href="../../Resource/themes/default/css/party.common.css" rel="stylesheet"
        type="text/css" />
    <link href="../../Resource/themes/default/css/party.portal.css" rel="stylesheet"
        type="text/css" />
  
    <style type="text/css">
        
    </style>
    <script type="text/javascript">

        function UrlRefresh(url) {
            window.location.href = url;
        }

        function Check(str) {
            var txtlength = str.value.length;
            if (txtlength > 50) {
                $("#labTiXing").html("<span style='color:red;'>你输入的主题长度超过50个字符</span>");
                var input = $(str);
                str.value = (str.value.substring(0, 50));
            } else {
                $("#spanLength").text("");
                $("#spanLength").text(50 - txtlength);
            }
        }
        function HideControl() {
            $("#btnRelease").hide();
        }
    </script>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <div>
         <div class="party-navigation">
			当前位置：<a href="../../Default.aspx">首页</a> > <a href="BBSIndex.aspx">论坛首页</a> >
			<asp:Label ID="lblTitle2" runat="server" /> > 发送帖子
		</div>
		<div class="bgline"></div>
        <div class="DivWidth" style="margin-top: 10px;">
            <table style="width: 1100px;" border="0" cellspacing="0" cellpadding="10">
                <tr>
                    <td style="text-align: right;">
                        <asp:Label ID="Label1" runat="server">主题：</asp:Label>
                    </td>
                    <td >
                        <asp:TextBox ID="txtTitle" runat="server" Width="700" Height="28" MaxLength="80"></asp:TextBox>
                        <asp:Label ID="labTitle" runat="server" Visible="false"></asp:Label>
                        <asp:DropDownList runat="server" ID="ddlCategory" Width="200" Height="32"></asp:DropDownList>
                    </td>
                </tr>
                <tr>
                    <td colspan="2">
                        <CKEditor:CKEditorControl ID="txtDescription" runat="server" ResizeEnabled="false" BorderColor="#EC8783" Width="1100px" Height="235"  BasePath="../../Resource/ckeditor/" FilebrowserUploadUrl="../../app/Share/FileUpload.aspx"></CKEditor:CKEditorControl>
                    </td>
                </tr>
            </table>
        </div>
        <div class="DivWidth">
            <table style="width: 1100px;">
                <tr>
                    <td style="text-align: center;">                       
                        <asp:Button runat="server" ID="btnRelease" CssClass="bbs-btn-Newtopic" OnClick="btnRelease_Click" />                       
                    </td>
                </tr>
            </table>
        </div>
    </div>
</asp:Content>
